function getLogin() {
    $.ajax({
        type: 'get',
        url: 'login',
        contentType: 'text/html;charset=utf8',
        success: function(body) {
            ;
        },
        error: function() {
            console.log("您尚未登陆!")
            location.assign('login.html');
        }
    });
}
